<?php


namespace app\admin\pms\logic;


use app\common\logic\BaseLogic;
use app\model\pms\GoodsSku;

class GoodsSkuLogic extends BaseLogic
{
    const BACKED = "※"; //对数据库存储
    const FRONT_END = " , "; //对前端显示

    public function __construct()
    {
        $this->model = new GoodsSku();
    }

    static function skuNameTo($search, $replace, $skuName)
    {
        return str_replace($search, $replace, $skuName);
    }
}